package com.spddr.pmos.cxf.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Service;

import com.spddr.pmos.cxf.JaxrsRole;
import com.spddr.pmos.jpa.Permission;
import com.spddr.pmos.jpa.Role;
import com.spddr.pmos.repos.RoleRepos;

@Service
public class JaxrsRoleImpl extends AbstractJaxrsObjectImpl<Role> implements JaxrsRole {
	@Autowired
	private RoleRepos repository;

	@Override
	public JpaRepository<Role, Long> getRepository() {
		return repository;
	}

	@Override
	public List<Permission> findPermissions(long id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Permission> savePermissions(long id, List<Permission> permissions) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void deletePermissions(long id) {
		// TODO Auto-generated method stub

	}
}
